package com.qidian.mes.pojo;

import java.util.Date;


public class CalHoliday {//节假日设置
    private Long holidayId;
    private Date theDay;
    private String holidayType;
    private Date startTime;
    private Date endTime;
    private String remark;
    private String attr1;
    private String attr2;
    private Integer attr3;
    private Integer attr4;
    private String createBy;
    private Date createTime;
    private String updateBy;
    private Date updateTime;
    private Long createTimeMillis;
    private Long modifyTimeMillis;

    public CalHoliday() {
    }

    public CalHoliday(Long holidayId, Date theDay, String holidayType, Date startTime, Date endTime, String remark, String attr1, String attr2, Integer attr3, Integer attr4, String createBy, Date createTime, String updateBy, Date updateTime, Long createTimeMillis, Long modifyTimeMillis) {
        this.holidayId = holidayId;
        this.theDay = theDay;
        this.holidayType = holidayType;
        this.startTime = startTime;
        this.endTime = endTime;
        this.remark = remark;
        this.attr1 = attr1;
        this.attr2 = attr2;
        this.attr3 = attr3;
        this.attr4 = attr4;
        this.createBy = createBy;
        this.createTime = createTime;
        this.updateBy = updateBy;
        this.updateTime = updateTime;
        this.createTimeMillis = createTimeMillis;
        this.modifyTimeMillis = modifyTimeMillis;
    }

    /**
     * 获取
     * @return holidayId
     */
    public Long getHolidayId() {
        return holidayId;
    }

    /**
     * 设置
     * @param holidayId
     */
    public void setHolidayId(Long holidayId) {
        this.holidayId = holidayId;
    }

    /**
     * 获取
     * @return theDay
     */
    public Date getTheDay() {
        return theDay;
    }

    public void setTheDay(Date theDay) {
        this.theDay = theDay;
    }

    /**
     * 获取
     * @return holidayType
     */
    public String getHolidayType() {
        return holidayType;
    }

    /**
     * 设置
     * @param holidayType
     */
    public void setHolidayType(String holidayType) {
        this.holidayType = holidayType;
    }

    /**
     * 获取
     * @return startTime
     */
    public Date getStartTime() {
        return startTime;
    }

    /**
     * 设置
     * @param startTime
     */
    public void setStartTime(Date startTime) {
        this.startTime = startTime;
    }

    /**
     * 获取
     * @return endTime
     */
    public Date getEndTime() {
        return endTime;
    }

    /**
     * 设置
     * @param endTime
     */
    public void setEndTime(Date endTime) {
        this.endTime = endTime;
    }

    /**
     * 获取
     * @return remark
     */
    public String getRemark() {
        return remark;
    }

    /**
     * 设置
     * @param remark
     */
    public void setRemark(String remark) {
        this.remark = remark;
    }

    /**
     * 获取
     * @return attr1
     */
    public String getAttr1() {
        return attr1;
    }

    /**
     * 设置
     * @param attr1
     */
    public void setAttr1(String attr1) {
        this.attr1 = attr1;
    }

    /**
     * 获取
     * @return attr2
     */
    public String getAttr2() {
        return attr2;
    }

    /**
     * 设置
     * @param attr2
     */
    public void setAttr2(String attr2) {
        this.attr2 = attr2;
    }

    /**
     * 获取
     * @return attr3
     */
    public Integer getAttr3() {
        return attr3;
    }

    /**
     * 设置
     * @param attr3
     */
    public void setAttr3(Integer attr3) {
        this.attr3 = attr3;
    }

    /**
     * 获取
     * @return attr4
     */
    public Integer getAttr4() {
        return attr4;
    }

    /**
     * 设置
     * @param attr4
     */
    public void setAttr4(Integer attr4) {
        this.attr4 = attr4;
    }

    /**
     * 获取
     * @return createBy
     */
    public String getCreateBy() {
        return createBy;
    }

    /**
     * 设置
     * @param createBy
     */
    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    /**
     * 获取
     * @return createTime
     */
    public Date getCreateTime() {
        return createTime;
    }

    /**
     * 设置
     * @param createTime
     */
    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    /**
     * 获取
     * @return updateBy
     */
    public String getUpdateBy() {
        return updateBy;
    }

    /**
     * 设置
     * @param updateBy
     */
    public void setUpdateBy(String updateBy) {
        this.updateBy = updateBy;
    }

    /**
     * 获取
     * @return updateTime
     */
    public Date getUpdateTime() {
        return updateTime;
    }

    /**
     * 设置
     * @param updateTime
     */
    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    /**
     * 获取
     * @return createTimeMillis
     */
    public Long getCreateTimeMillis() {
        if(this.createTime != null) {
            return this.createTime.getTime();
        }
        return null;
    }

    /**
     * 设置
     * @param createTimeMillis
     */
    public void setCreateTimeMillis(Long createTimeMillis) {
        this.createTimeMillis = createTimeMillis;
    }

    /**
     * 获取
     * @return modifyTimeMillis
     */
    public Long getModifyTimeMillis() {
        if(this.updateTime != null) {
            return this.updateTime.getTime();
        }
        return null;
    }

    /**
     * 设置
     * @param modifyTimeMillis
     */
    public void setModifyTimeMillis(Long modifyTimeMillis) {
        this.modifyTimeMillis = modifyTimeMillis;
    }

    public String toString() {
        return "CalHoliday{holidayId = " + holidayId + ", theDay = " + theDay + ", holidayType = " + holidayType + ", startTime = " + startTime + ", endTime = " + endTime + ", remark = " + remark + ", attr1 = " + attr1 + ", attr2 = " + attr2 + ", attr3 = " + attr3 + ", attr4 = " + attr4 + ", createBy = " + createBy + ", createTime = " + createTime + ", updateBy = " + updateBy + ", updateTime = " + updateTime + ", createTimeMillis = " + createTimeMillis + ", modifyTimeMillis = " + modifyTimeMillis + "}";
    }
}
